﻿using System;
using System.Windows.Forms;
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;

namespace YArchitech.HVAC
{
	[Transaction(TransactionMode.Manual)]
	[Regeneration(RegenerationOption.Manual)]
	public class cmdHyCorporateToolsNewHelp : IExternalCommand
	{
		public Result Execute(ExternalCommandData cmdData, ref string messages, ElementSet elements)
		{
			System.Windows.Forms.Control parent = new System.Windows.Forms.Control();
			Help.ShowHelp(parent, HelpSet.hyGetNewHelpChm(), HelpSet.hyGetHelpIndex("盈建科协同"));
			return Autodesk.Revit.UI.Result.Succeeded;
		}
	}
}
